import request from '..'

// 获取留言列表
const queryWordListRequest = async () => {
  const result = await request({
    url: '/word/blog/list',
  })
  return result
}
// 留言
const createWordRequest = async (content, comment_id) => {
  const result = await request({
    method: 'post',
    url: '/word/blog/create',
    data: {
      content,
      comment_id,
    },
  })
  return result
}

export { queryWordListRequest, createWordRequest }
